package com.ge.modules.sys.service.impl;

import com.ge.modules.dao.TbOrderRefundDao;
import com.ge.modules.entity.TbOrderRefundEntity;
import com.ge.modules.sys.service.SysOrderRefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysOrderRefundServiceImpl implements SysOrderRefundService {
	@Autowired
	private TbOrderRefundDao TbOrderRefundDao;
	
	@Override
	public TbOrderRefundEntity queryObject(Integer id){
		return TbOrderRefundDao.queryObject(id);
	}
	
	@Override
	public List<TbOrderRefundEntity> queryList(Map<String, Object> map){
		return TbOrderRefundDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return TbOrderRefundDao.queryTotal(map);
	}
	
	@Override
	public void save(TbOrderRefundEntity orderRefund){
		TbOrderRefundDao.save(orderRefund);
	}
	
	@Override
	public void update(TbOrderRefundEntity orderRefund){
		TbOrderRefundDao.update(orderRefund);
	}
	
	@Override
	public void delete(Integer id){
		TbOrderRefundDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		TbOrderRefundDao.deleteBatch(ids);
	}
	
}
